import Vue from "vue";
import Antd from "ant-design-vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "ant-design-vue/dist/antd.less";
import Authorized from "./components/Authorized";
import Auth from "./direcitves/auth";
import echarts from "echarts";
import request from "./utils/request";

Vue.prototype.$echarts = echarts;
Vue.prototype.$request = request;

Vue.config.productionTip = false;
Vue.use(Antd);
Vue.use(Auth);
Vue.component("Authorized", Authorized);
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
